package java68_5;

public class StudentArray {
    public static void main(String[] args) {
        //int []s={1,2,3,5};
        Student []sar={new Student(),new Student(),new Student(),new Student()};
         sar[0].name="laoliu";

        Student []ar=new Student[34];
        ar[0]=new Student();
        ar[1]=new Student();
        Student s2=new Student();
        s2.name="崔道金";
        s2.java=99;
        s2.csharp=79;
        s2.database=91;
        ar[2]=s2;

        System.out.println(ar);
        for(int i=0;i<ar.length;i++)
            System.out.println(ar[i]);
        ar[0].java=99;
        ar[0].show();
    }
}
